package com.hjms.common.entity.exception;

import lombok.Data;

/**
 * @author 何杨谊
 * @description: 未授权
 * @date 2023/2/9 13:50
 */
@Data
public class Unauthorized401Exception extends RuntimeException{
    private String code="forbidden";
    private String msg;

    /**
     *
     * @author 何杨谊
     * @date 2023/2/8 14:53
     * @param msg
     * @return null
     **/
    public Unauthorized401Exception(String msg) {
        super(msg);
        this.msg = msg;
    }
}